home *** CD-ROM | disk | FTP | other *** search
/ 360 Degrees of: Yellowstone National Park / 360 Degrees of: Yellowstone National Park.iso / pc / data / exhibit.cst / 00362_stereograph score script.ls < prev    next >
Encoding:
Text File  |  2008-04-21  |  664 b   |  27 lines

  1. on enterframe
  2.   
  3.   global stereoview
  4.   global stereoviewnumber
  5.   global stereoanimtimer
  6.   
  7.   --this sets the timing for viewing the animated stereographs
  8.   if the ticks > (stereoanimtimer+18) then
  9.     --change the stereoview from left to right
  10.     if sprite(stereoview).member.name = "grca_"&stereoviewnumber&"_front_l" then
  11.       sprite(stereoview).member = "grca_"&stereoviewnumber&"_front_r"
  12.       updatestage
  13.     else
  14.       sprite(stereoview).member = "grca_"&stereoviewnumber&"_front_l"
  15.       updatestage
  16.     end if
  17.     --reset the timer
  18.     put the ticks into stereoanimtimer
  19.   end if
  20.   
  21. end
  22.  
  23. on exitFrame me
  24.   global stereoanimtimer
  25.   
  26.   go to the frame
  27. end